package com.ejuornal.bean;

import java.io.Serializable;
import java.util.Date;
/**
 * 项目名称：ejuornal    
 * 类名称：Artical    
 * 类描述：    文章信息
 * 创建人：陈晨    
 * 创建时间：Jan 23, 2013 4:46:48 PM    
 * 修改人：陈晨    
 * 修改时间：Jan 23, 2013 4:46:48 PM    
 * 修改备注：    
 * @version     
 */
public class Artical implements Serializable{
    private static final long serialVersionUID = 1L;
    private int articalId; //文章编号
    private int userId;   //用户编号
    private int perPeriodicalId; //每期期刊编号
    private int boardId; //版块编号
    private String title; //标题
    private String content;//内容
    private String cnAbstract; //中文导读
    private String enAbstract; //英文导读
    private String keywords;    //关键字
    private Date pubDate;     //发表时间
    private int viewCount; //浏览次数
    private Date postDate;  //投稿时间
    private String refDoc; //参考文献
    private String status;   //文章状态   
    private Periodical periodical;
    
    public Periodical getPeriodical() {
		return periodical;
	}
	public void setPeriodical(Periodical periodical) {
		this.periodical = periodical;
	}
	public int getArticalId() {
	    return articalId;
	}
	public void setArticalId(int articalId) {
	    this.articalId = articalId;
	}
	public int getUserId() {
	    return userId;
	}
	public void setUserId(int userId) {
	    this.userId = userId;
	}
	public int getPerPeriodicalId() {
		return perPeriodicalId;
	}
	public void setPerPeriodicalId(int perPeriodicalId) {
		this.perPeriodicalId = perPeriodicalId;
	}
	public int getBoardId() {
	    return boardId;
	}
	public void setBoardId(int boardId) {
	    this.boardId = boardId;
	}
	public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public Date getPubDate() {
        return pubDate;
    }
    public Date getPostDate() {
        return postDate;
    }
    public void setPubDate(Date pubDate) {
        this.pubDate = pubDate;
    }
    public void setPostDate(Date postDate) {
        this.postDate = postDate;
    }
   
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getKeywords() {
        return keywords;
    }
    public void setKeywords(String keywords) {
        this.keywords = keywords;
    }
    public int getViewCount() {
        return viewCount;
    }
    public void setViewCount(int viewCount) {
        this.viewCount = viewCount;
    }
    public String getRefDoc() {
        return refDoc;
    }
    public void setRefDoc(String refDoc) {
        this.refDoc = refDoc;
    }
    public String getStatus() {
        return status;
    }
    public void setStatus(String status) {
        this.status = status;
    }
    
    public String getCnAbstract() {
        return cnAbstract;
    }
    public void setCnAbstract(String cnAbstract) {
        this.cnAbstract = cnAbstract;
    }
    public String getEnAbstract() {
        return enAbstract;
    }
    public void setEnAbstract(String enAbstract) {
        this.enAbstract = enAbstract;
    }
	@Override
	public String toString() {
		return "Artical [articalId=" + articalId + ", userId=" + userId
				+ ", perPeriodicalId=" + perPeriodicalId + ", boardId="
				+ boardId + ", title=" + title + ", content=" + content
				+ ", cnAbstract=" + cnAbstract + ", enAbstract=" + enAbstract
				+ ", keywords=" + keywords + ", pubDate=" + pubDate
				+ ", viewCount=" + viewCount + ", postDate=" + postDate
				+ ", refDoc=" + refDoc + ", status=" + status + "]";
	}
    
}
